From 79cf0989175c16994efc1f152eef07bb48cb98df Mon Sep 17 00:00:00 2001 From: Igor Druzhinin Date: Thu, 5 Dec 2019 13:31:03 +0100 Subject: [PATCH] passthrough: drop break statement following c/s cd7dedad820 The locking responsibilities have changed and a premature break in this section now causes the following assertion: Assertion '!preempt_count()' failed at preempt.c:36 Reported-by: Sander Eikelenboom Suggested-by: Jan Beulich Signed-off-by: Igor Druzhinin Reviewed-by: Paul Durrant Reviewed-by: Jan Beulich --- xen/drivers/passthrough/pci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/drivers/passthrough/pci.c b/xen/drivers/passthrough/pci.c index ced0c28e4f..c07a63981a 100644 --- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -1705,7 +1705,6 @@ int iommu_do_pci_domctl( seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); ret = -EINVAL; } - break; } else if ( !ret ) ret = assign_device(d, seg, bus, devfn, flags); -- 2.30.2